制作 deb 包
参考 QtTheme
准备工作
安装工具:
1sudo apt-get install build-essential
2sudo apt-get install debmake配置作者的邮箱和名字:
1export DEBEMAIL="[email protected]"
2export DEBFULLNAME="planc"初始化项目
通过 debmake 生成 debian 目录:
1debmake -e [email protected] -p qttheme -u 1.0.0 -n打包
执行 debuild 命令进行打包:
1debuild更新版本
在 debian/changelog 最上方添加一条空的 changelog :
1qttheme (1.0.1) UNRELEASED; urgency=low
2
3 -- planc <[email protected]>执行 dch -v 1.0.1 命令,编辑 changelog 的内容,最后保存,会自动生成时间。